package com.zelix;

import java.io.PrintStream;
import java.io.PrintWriter;

public class cs extends bs {

    PrintWriter b;
    int c;

    public cs(PrintWriter printwriter, int i, boolean flag) {
        b = printwriter;
        c = i;
        a(flag ^ true);
    }

    public void a(String s, String s1) {
        System.out.println(zu.a(c + 1, ' ') + s1);
    }

    public void a(String s, String s1, String s2) {
        a(s, s1);
    }

    public void b(String s, String s1) {
        c(s, s1);
    }

    public void b(String s, String s1, String s2) {
        c(s, s1, s2);
    }

    public void c(String s, String s1) {
        label0:
        {
            String s2 = s + a(s) + s1;
            System.err.println();
            System.err.println(s2);
            b.println(s2);
            b.close();
            if (a()) {
                System.exit(1);
            } else
                throw new z0(s2);
        }
    }

    public void c(String s, String s1, String s2) {
        label0:
        {
            String s3 = s + a(s) + s1;
            System.err.println();
            System.err.println(s3);
            System.err.println(s2);
            b.println(s3);
            b.println(s2);
            b.close();
            if (a()) {
                System.exit(1);
            } else
                throw new z0(s3);
        }
    }

    public void d(String s, String s1) {
        String s2 = s + a(s) + s1;
        System.out.println();
        System.out.println(s2);
        b.println(s2);
    }
}